package day12;

public class TestArgs4 {
    public static void main(String[] args){
        Student stu = new Student(18);
        change(stu);
        System.out.print(stu.age);
    }

    public static void change(Student stu){
        stu.age = 30;
    }
}

class Student{
    public int age;
    public Student(int age){
        this.age = age;
    }
}